/**
 * Copyright (c) 2020 kedacom
 * OpenATC is licensed under Mulan PSL v2.
 * You can use this software according to the terms and conditions of the Mulan PSL v2.
 * You may obtain a copy of Mulan PSL v2 at:
 * http://license.coscl.org.cn/MulanPSL2
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PSL v2 for more details.
 **/
@import "./mixin.scss";
// @import './theme/element-variables.scss';

$bg: #2d3a4b;
$dark_gray: #889aa4;
$light_gray: #eee;

 // 全局滚动条样式
 ::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-thumb {
  // 滚动条的滑块
  border-radius: 4px;
  background: rgba(144, 147, 153, 0.3);
}
::-webkit-scrollbar-corner{
  // 横向滚动条和纵向滚动条同时出现，右下角有个小白方格
  background: transparent;
}


.app-container {
  // min-width: 1730px;
  height: 100%;
  background-color: $--background-color-base;
}
// 侧边栏
.sidebar-container .el-submenu .el-menu-item {
  min-width: 180px !important;
  background-color: $--color-white !important;
  &:hover {
    background-color: $--background-color-base !important;
  }
}
.el-menu--collapse .el-menu .el-submenu {
  min-width: 180px !important;
}
.cssstyle-auth {
  #pass-label .el-form-item__label {
    color: $--color-text-secondary;
  }

  #pass-state-succ {
    color: #01b468;
    float: left;
  }

  #pass-state-err {
    color: $--color-text-secondary;
    float: left;
  }

  .borde-style {
    overflow: auto;
    height: 310px;
    border: 1px solid;
    border-width: 1px;
    border-color: #eeeeee
  }

  /********************** 设置主页字体样式 ********************/
  .dashboard-container {
    font-style: italic;
    font-size: 30px;
    text-align: center;
    margin-top: 20px;
  }

  /********************** 设置dashboard后面文字的样式 ********************/
  .no-redirect {
    color: #97a8be;
    cursor: text;
  }

  .cssstylelogin-auth {
    background-color: $bg;
    @include relative;
    height: 100vh;
    background-color: $bg;

    input:-webkit-autofill {
      -webkit-box-shadow: 0 0 0px 1000px #293444 inset !important;
      -webkit-text-fill-color: $--color-white !important;
    }

    input {
      background: transparent;
      border: 0px;
      -webkit-appearance: none;
      border-radius: 0px;
      padding: 12px 5px 12px 15px;
      color: $light_gray;
      height: 47px;
    }

    .el-input {
      display: inline-block;
      height: 47px;
      width: 85%;
    }

    .tips {
      font-size: 14px;
      color: $--color-white;
      margin-bottom: 10px;
    }

    .svg-container {
      padding: 6px 5px 6px 15px;
      color: $dark_gray;
      vertical-align: middle;
      width: 30px;
      display: inline-block;

      &_login {
        font-size: 20px;
      }
    }

    .title {
      font-size: 26px;
      color: $light_gray;
      margin: 0px auto 40px auto;
      text-align: center;
      font-weight: bold;
    }

    .login-form {
      position: absolute;
      left: 0;
      right: 0;
      width: 400px;
      padding: 35px 35px 15px 35px;
      margin: 120px auto;
      vertical-align: middle;
    }

    .el-form-item {
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(0, 0, 0, 0.1);
      border-radius: 5px;
      color: #454545;
    }

    .show-pwd {
      position: absolute;
      right: 10px;
      top: 7px;
      font-size: 16px;
      color: $dark_gray;
      cursor: pointer;
    }

    .thirdparty-button {
      position: absolute;
      right: 35px;
      bottom: 28px;
    }
  }

  .kanban-button {
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    background: $--color-primary;
    border: 1px solid $--color-primary;
    border-color: $--color-primary;
    color: $--color-white;
    -webkit-appearance: none;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    margin: 0;
    -webkit-transition: .1s;
    transition: .1s;
    font-weight: 500;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 4px;
    &:hover {
      display: inline-block;
      line-height: 1;
      white-space: nowrap;
      cursor: pointer;
      background: $--color-primary;
      border: 1px solid $--color-primary;
      border-color: $--color-primary;
      color: $--color-white;
      -webkit-appearance: none;
      text-align: center;
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
      outline: none;
      margin: 0;
      -webkit-transition: .1s;
      transition: .1s;
      font-weight: 500;
      -moz-user-select: none;
      -webkit-user-select: none;
      -ms-user-select: none;
      padding: 12px 20px;
      font-size: 14px;
      border-radius: 4px;
    }
  }
}

// .cssstylelogin,

#pass-label .el-form-item__label {
  color: $--color-text-secondary;
}

#pass-state-succ {
  color: #01b468;
  float: left;
}

#pass-state-err {
  color: #999;
  float: left;
}

.borde-style {
  overflow: auto;
  height: 310px;
  border: 1px solid;
  border-width: 1px;
  border-color: #eeeeee
}

/********************** 设置主页字体样式 ********************/
.dashboard-container {
  font-style: italic;
  font-size: 30px;
  text-align: center;
  margin-top: 20px;
}

/********************** 设置dashboard后面文字的样式 ********************/
.no-redirect {
  color: #97a8be;
  cursor: text;
}
/********************** 设置edge的相位弹框样式 ********************/
.phaseNoSelected{
  // width: 23%;
  /* padding-bottom: 23%; */
  border: 1% solid $--color-white;        
  background-color: #edf6ff;
  border-radius: 3%;
  float: left;
  margin: 1%;
  cursor: pointer;
}
.phaseSelected{
  // width: 23%; 
  /* padding-bottom: 23%; */
  border: 1% solid $--color-white;        
  background-color: #a2cfff;
  border-radius: 3%;
  float: left;
  margin: 1%;
  cursor: pointer;
}
.iconfont {
  font-family:"iconfont" !important;
  font-size:40px;
  text-align:center;
  font-weight:500;
  color: #000000;
  font-style:normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/********************** 设置kanban样式 ********************/
.phase-description {
  border-radius: 4px;
  background: rgb(217, 236, 255);
  width: 40px;
  height: 40px;
}
.board-column {
min-width: 180px;
min-height: 100px;
height: auto;
overflow: hidden;
background: #f0f0f0;
border-radius: 3px;
border: 1px solid $--border-color-base;

.board-column-header {
  height: 50px;
  line-height: 50px;
  overflow: hidden;
  padding: 0 10px;
  text-align: center;
  background: $--color-primary;
  color: #FFFFFF;
  border-radius: 3px 3px 0 0;
}
.board-table-header {
  height: 30px;
  line-height: 30px;
  overflow: hidden;
  text-align: center;
  margin-bottom: -20px;
  font-size: 12px;
  color: $--color-info;
  background-color: $--color-black;
}

.board-column-content {
  height: auto;
  overflow: hidden;
  border: 10px solid transparent;
  min-height: 60px;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: center;
  background-color: $--color-black;

  .board-item {
    cursor: pointer;
    width: 100%;
    height: 48px;
    margin: 5px 0;
    // background-color: rgba(31,46,46,0.9);
    text-align: left;
    line-height: 40px;
    padding: 1px 1px;
    box-sizing: border-box;
  }
}
}
.agent-id {
  color: $--color-text-regular;
  font-size: 14px;
}
.sysytem-strategy {
  color: $--color-text-regular;
  margin-right: 10px;
}
.system-saturation {
  color: $--color-text-regular;
}
.control-container {
  font-weight: bold;
  color: $--color-text-regular;
  margin-top: 20px;
}
// 面包屑
.hamburgercolor {
  fill: $--color-text-primary;
  // stroke: red;
  stroke-width: 2;
}
// layout界面
.app-wrapper {
  @include clearfix;
  position: relative;
  height: 100%;
  width: 100%;
  background: $--background-color-base;
}
.drawer-bg {
  background: $--background-color-base;
  opacity: 0.3;
  width: 100%;
  top: 0;
  height: 100%;
  position: absolute;
  z-index: 999;
}
.navbar {
.sloat-icon {
  float: right;
  margin-right: 45px;
  .iconfont {
    font-size: 18px;
    cursor: pointer;
  }
  .el-button {
    margin-left: 8px;
    line-height: 22px;
  }
  .choosedIcon {
    color: #409eff;
  }
  .defaultIcon {
    color: $--color-text-secondary;
  }
}
}
// 总览页面
.container-main {
  width: 100%;
  // height: 880px;
  height: 100%;
  // min-width: 1250px;
  background: $--background-color-base;
  .iconfont {
    font-family: "iconfont" !important;
    font-size: 34px;
    text-align: center;
    font-weight: 500;
    color: #000000;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .container-left {
    float: left;
    margin-top: 20px;
    margin-left: 20px;
    width: 76.8%;
    height: 880px;
    background-color: $--color-white;
    border: solid 1px $--border-color-lighter;
  }
  .container-right {
    float: left;
    margin-top: 20px;
    margin-left: 20px;
    width: 20%;
    height: 880px;
    background-color: $--color-white;
    border: solid 1px $--border-color-lighter;
  }
  .container-left-top {
    width: 100%;
    height: 420px;
  }
  .container-left-bottom {
    width: 100%;
    height: 400px;
    background-color: $--color-white;
  }
  .curr-order {
    float: left;
    margin-left: 20px;
    margin-top: 1px;
  }
  .control-right {
    margin-top: 40px;
    margin-left: 20px;
  }
  .agent-div {
    float: left;
    width: 28%;
    height: 420px;
    border-bottom: solid 0.5px $--border-color-lighter;
  }
  .other-div {
    float: left;
    width: 24%;
    height: 210px;
    border-left: solid 1px $--border-color-lighter;
    border-bottom: solid 1px $--border-color-lighter;
    .model-icon {
      width: 20px;
      height: 20px;
    }
  }
  .agent-icon {
    position:relative;
    float: left;
    width: 50%;
    height: 210px;
  }
  .agent-num {
    float: left;
    width: 50%;
    height: 210px;
  }
  .lianji-success {
    position:relative;
    float: right;
    right: 30px;
    top: 25px;
    text-align: center;
    width: 81px;
    height: 34px;
    background-color: $--color-primary;
    border-radius: 4px;
    font-size: 14px;
    padding:10px 0;
    color: $--color-white;
  }
  .lianji-fail {
    position:relative;
    float: right;
    right: 30px;
    top: 25px;
    text-align: center;
    width: 81px;
    height: 34px;
    background-color: #909399;
    border-radius: 4px;
    font-size: 14px;
    padding:10px 0;
    color: $--color-white;
  }
  .lianji-wait {
    position:relative;
    float: right;
    right: 30px;
    top: 25px;
    text-align: center;
    width: 110px;
    height: 34px;
    background-color: #e6a23c;
    border-radius: 4px;
    font-size: 14px;
    padding:10px 0;
    color: $--color-white;
  }
  .agent-id {
    margin-top: 20px;
    margin-right: 30px;
    text-align: right;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    letter-spacing: 0px;
    color: $--color-text-secondary;
  }
  .agent-number {
    margin-top: 10px;
    margin-right: 30px;
    text-align: right;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    letter-spacing: 0px;
    color: $--color-text-primary;
  }
  .agent-port {
    margin-top: 20px;
    margin-right: 30px;
    text-align: right;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    letter-spacing: 0px;
    color: $--color-text-secondary;
  }
  .port-number {
    margin-top: 10px;
    margin-right: 30px;
    text-align: right;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    letter-spacing: 0px;
    color: $--color-text-primary;
  }
  .model-name {
    float: left;
    margin-top: 32px;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    letter-spacing: 0px;
    color: $--color-text-regular;
    margin-right: 10px;
  }
  .model-tupian {
    float: left;
    margin-top: 30px;
    margin-left: 20px;
    margin-right: 10px;
  }
  .to-detail {
    float: left;
    margin-top: 35px;
    line-height: 10px;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    letter-spacing: 0px;
    color: $--color-primary;
    padding-left: 10px;
    border-left: 1px solid $--color-primary;
    cursor: pointer;
  }
  .single-model .closephase-icon {
    margin-top: 10px;
    width: 56px;
    height: 24px;
  }
  .single-model .model-icon {
    margin-top: 10px;
    width: 24px;
    height: 24px;
  }
  .control-center {
    // float: left;
    text-align: center;
    margin-top: 40px;
    font-size: 30px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 20px;
    letter-spacing: 0px;
    color: $--color-text-primary;
  }
  .curr-grade {
    margin-top: 30px;
    font-size: 24px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 14px;
    letter-spacing: 0px;
    color: $--color-text-regular;
  }
  .curr-num {
    margin-top: 20px;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 14px;
    letter-spacing: 0px;
    color: $--color-text-secondary;
  }
  .icon-ziyuan:before {
    content: "\e670";
    position:absolute;
    z-index:2;
    left: 45px;
    top: 72px;
    // color: #$--color-primary;
  }
  .yuanxing {
    position:absolute;
    left: 20px;
    top: 50px;
    z-index:1;
    width: 90px;
    height: 90px;
    // background-color: #459ffc;
    opacity: 0.2;
    border-radius: 50%;
  }
  .dev-status {
    position:absolute;
    // text-align: center;
    // margin-top: 150px;
    // left: 30px;
    top: 150px;
    height: 21px;
    font-size: 22px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 14px;
    letter-spacing: 0px;
    // color: $--color-primary;
  }
  .tuxing-left {
    float: left;
    // margin-top: 20px;
    margin-left: 1%;
    width: 62%;
    // height: 860px;
    background-color: $--color-white;
    border: solid 1px $--border-color-lighter;
  }
  .crossDirection-display {
    // height: 650px;
    // transform-origin: center top;
    padding-top: 30px;
  }
  .changeWidth {
    width: 98% !important;
  }
  .changePaddingBottom {
    padding-bottom: 30px;
  }
  /*当屏幕小于等于1680px的屏幕样式*/
  @media only screen and (max-width: 1680px){
    .crossDirection-display{
      // transform: scale(0.9);
      zoom: 0.9;
      
    }
    .centerText .text {
      font-size: 14px;
    }
   }
  /*当屏幕小于等于1440px的屏幕样式*/
  @media only screen and (max-width: 1440px){
    .crossDirection-display{
      // transform: scale(0.8);
      zoom: 0.8;
      
    }
    .centerText .text {
      font-size: 18px;
    }
   }
   /*当屏幕小于等于1280px的屏幕样式*/
  @media only screen and (max-width: 1280px){
    .crossDirection-display{
      // transform: scale(0.65);
      zoom: 0.65;
    }
    .centerText .text {
      font-size: 20px;
    }
   }
   /*当屏幕小于等于960px的屏幕样式*/
  @media only screen and (max-width: 960px){
    .crossDirection-display{
      // transform: scale(0.5);
      zoom: 0.5;
    }
    .centerText .text {
      font-size: 14px;
    }
   }
    /*当屏幕小于等于720px的屏幕样式*/
  @media only screen and (max-width: 720px){
    .crossDirection-display{
      // transform: scale(0.45);
      zoom: 0.45;
    }
    .centerText .text {
      font-size: 14px;
    }
   }
  .pattern-status {
    height: 200px;
    margin-left: 20px;
    margin-top: 20px;
    margin-right: 20px;
  }
  .pattern-name {
    display: inline;
    font-size: 20px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 22px;
    letter-spacing: 0px;
    color: $--color-text-primary;
  }
  .pattern-message {
    display: inline;
    margin-left: 10px;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 22px;
    letter-spacing: 0px;
    color: $--color-text-regular;
  }
  .tuxing-right {
    float: left;
    // margin-top: 20px;
    margin-left: 1%;
    width: 35%;
    // height: 860px;
    box-sizing: border-box;
    // padding-left: 10px;
    background-color: $--color-white;
    border: solid 1px $--border-color-lighter;
    position: relative;
    overflow-x: hidden;
    // min-height: 700px;
  }
  .cross-mess {
    margin-left: 15px;
    margin-top: 15px;
    height: 20px;
    font-size: 20px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 22px;
    letter-spacing: 0px;
    color: $--color-text-primary;
  }
  .cross-module {
    float: left;
    margin-top: 5px;
    padding-left: 15px;
    width: 100%;
    padding-bottom: 20px;
    // min-width: 600px;
    // height: 180px;
    background-color: $--color-white;
  }
  .cross-content {
    margin-top: 19px;
    // margin-left: 7px;
    overflow: hidden;
  }
  .cross-name {
    // height: 13px;
    font-size: 14px;font-weight: normal;
    font-stretch: normal;
    line-height: 22px;
    letter-spacing: 0px;
    color: $--color-text-regular;
  }
  .cross-value {
    width: 180px;
    height: 22px;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 22px;
    letter-spacing: 0px;
    color: $--color-text-primary;
  }
  .el-tag {
    margin-right: 4px;
    margin-bottom: 4px;
  }
  .fault-detail-btn {
    float: right;
    font-size: 14px;
    font-family: Source Han Sans CN;
    font-weight: 400;
    color: #409EFF;
    line-height: 32px;
    margin-right: 20px;
    cursor: pointer;
  }
  .control-model {
    float: left;
    margin-top: 10px;
    // margin-left: 15px;
  }
  .model-label, .stage-label {
    width: 100px;
    font-size: 14px;
    font-weight: 400;
    color: #606266;
    line-height: 28px;
    padding-right: 12px;
  }
  .single-model {
    margin-right: 10px;
    text-align: center;
    cursor:pointer;
    width: 70px;
    height: 65px;
    background-color: #edf6ff;
    border-radius: 6px;
    line-height: 1.15;
  }
  .single-model-select {
    margin-right: 10px;
    text-align: center;
    cursor:pointer;
    width: 70px;
    height: 65px;
    background-color: #a2cfff;
    border-radius: 6px;
    // border: solid 1px #409eff;
  }
  .single-model-name {
    margin-top: 3px;
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    // line-height: 22px;
    letter-spacing: 0px;
    color: #606266;
  }
  .current-stage-num {
    margin-top: 3px;
    font-size: 12px;
    font-weight: bold;
    font-stretch: normal;
    letter-spacing: 0px;
    // color: #303133;
    color:#606266;
  }
  .sloat-icon {
    cursor:pointer;
    margin-top: 15px;
  }
  .control-time {
    margin-top: 40px;
    font-size: 30px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 20px;
    letter-spacing: 0px;
    color: $--color-text-primary;
  }
  .control-time .time {
    width: 50%;
    display: inline-block;
    text-align: center;
  }
  .control-time span:first-of-type {
    border-right: 1px solid #e5e5e5;
  }
  .pattern-explain {
      float: right;
      color: $--color-text-regular;
  }
// 小屏幕打开首页适配样式
  .minifont {
    font-size: 12px;
    .cross-mess {
      font-size: 16px;
    }
    .cross-value {
      font-size: 12px;
    }
    .pattern-message {
      font-size: 12px;
    }
  }
 .superlargeCrossImg {
  //  transform: scale(0.9);
   zoom: 0.9;
   
 }
 .largeCrossImg {
  //  transform: scale(0.8);
   zoom: 0.8;
   
 }
 .middleCrossImg {
  //  transform: scale(0.65);
  zoom: 0.65;
 }
 .smallCrossImg {
  //  transform: scale(0.5);
   zoom: 0.5;
 }
 .miniCrossImg {
  //  transform: scale(0.45);
   zoom: 0.45;
 }
 .superminiCrossImg {
  //  transform: scale(0.35);
   zoom: 0.35;
 }
 .minimumCrossImg {
  //  transform: scale(0.25);
   zoom: 0.25;
 }
 .jsontextarea {
  textarea {
    min-height: 200px !important;
    max-height:300px;
  }
 }
 .wenzijiemian {
   .container-left {
     margin-top: 0;
   }
   .container-right {
     margin-top: 0;
   }
 }
}
// 手动控制弹框
.manual-control-modal{
  padding: 21px 0px 21px 28px;
  .title {
    margin-bottom: 24px;
    font-size: 20px;
    font-weight: 400;
    line-height: 22px;
    color: $--color-text-primary;
  }
  .model-label {
    margin-top: 14px;
  }
  .stage-label {
    margin-top: 30px;
  }
  .footer {
    float: right;
    margin: 38px 24px 40px 0;
  }
  .el-form-item {
    margin-bottom: 0px;
  }
  .el-form-item__label {
    font-size: 14px;
    font-weight: 400;
    color: $--color-text-secondary;
  }
  .el-dialog__footer {
    padding: 10px 72px 38px 0;
  }
  .el-dialog__header {
    padding: 19px 30px;
  }
  .el-select {
    width: 75px;
  }
  .el-input {
    width: 50%;
  }
  .el-input-number {
    width: 100%;
    .el-input__inner {
      text-align: left;
    }
  }
  .footer {
    button {
      width: 56px;
      height: 32px;
      padding: 0;
      text-align: center;
      line-height: 30px;
      font-size: 12px;
      font-weight: normal;
      font-stretch: normal;
    }
  }
  .model-label, .stage-label {
    color: $--color-text-secondary;
  }
} 

.closephase-control{
  height: 100%;
  .closephasekanban {
    width: 60%;
    margin: 0 auto;
    margin-bottom: 13px;
  }
} 

// 公共面板组件通用样式
.common-board-column {
    min-width: 180px;
    min-height: 100px;
    max-width: 350px;
    height: auto;
    overflow: hidden;
    background: #f0f0f0;
    // border: 1px solid $--border-color-base;
  .common-phase-description {
    background: rgb(217, 236, 255);
    width: 40px;
    height: 40px;
  }


  .common-board-column-header {
    line-height: 40px;
    overflow: hidden;
    text-align: center;
    background: $--color-primary;
    color: #FFFFFF;
    height: 40px;
  }
  .common-board-table-header {
    height: 42px;
    overflow: hidden;
    text-align: center;
    margin-bottom: -20px;
    font-size: 14px;
    color: $--color-info;
    background-color: $--color-black;
    border: 20px solid transparent;
    border-bottom-width: 0px;
    .common-titlecolumn {
      float: left;
      text-align: left;
    }
    .phase {
      width: 50px;
    }
    .mode {
      width: calc(100% - 50px)
    }
  }

  .common-board-column-content {
    height: auto;
    overflow: hidden;
    border: 10px solid transparent;
    min-height: 60px;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    background-color: $--color-black;
    border-width: 20px;
    border-top-width: 16px;
    border-bottom-width: 15px;
    .common-contentcolumn {
      float: left;
    }
    .phase {
      width: 40px;
    }
    .mode {
      margin-left: 10px;
      width: calc(100% - 50px);
    }

    .common-board-item {
      cursor: pointer;
      width: 100%;
      height: 40px;
      margin-top: 10px;
      text-align: left;
      box-sizing: border-box;
      .el-input {
        width: 100%;
        .el-input__inner {
          height: 40px;
          line-height: 40px;
        }
      }
    }
  }
}

.main-statgestatus {
  position: relative;
}
.stage-line {
  position: relative;
  top: 7px;
  width: 100%;
  height: 1px;
  background-color: $--color-text-secondary;
  z-index:1;
}
.stage-verticalline {
  position: absolute;
  float: left;
  width: 1px;
  height: 14px;
  background-color: $--color-text-secondary;
  z-index:2;
}
.stage-text {
  position: absolute;
  float: left;
  width: 25px;
  text-align: center;
  background-color: $--color-white;
  z-index:3;
}
.stage-span {
  // position: relative;
  bottom: 3px;
  left: 5px;
  width: 15px;
  height: 14px;
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  line-height: 20px;
  letter-spacing: 0px;
  background-color: $--color-white;
  color: $--color-text-primary;
}
.container-right .el-form-item__label {
  text-align: right;
  float: left;
  font-size: 14px;
  line-height: 40px;
  padding: 0 12px 0 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-weight: normal;
  font-stretch: normal;
  letter-spacing: 0px;
  color: $--color-text-secondary;
}
.container-right .el-select {
  width: 70%;
}
.ys-float-btn {
  background:$--color-primary;
  box-shadow:0 2px 10px 0 rgba(0,0,0,0.1);
  border-radius:50%;
  color: $--color-text-regular;
  z-index: 20;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 20vw;
  img{
    width: 50%;
    height: 50%;
    object-fit: contain;
    margin-bottom: 3px;
  }
  p{
    font-size:7px;
  }
}
.phase-part {
  padding: 33px 30px;
  box-sizing: border-box;
  .current-phase {
    display: flex; /*所有子元素block或inline都变成行内块元素的样式*/
    align-items: center;
    justify-content: flex-start;
    width: 96%;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    letter-spacing: 0px;
    color: $--color-text-primary;
  }
  .current-phasetable {
    width: 96%;
    height: 330px;
    margin-top: 40px;
    .el-table {
      width: 100%;
      font-size: 14px;
    }
  }
  .color-block {
    float: left;
    width: 14px;
    height: 14px;
    background-color: $--color-primary;
  }
  .curr-phase {
    margin-left: 5px;
  }
  .curr-ring {
    margin-left: 20px;
  }
  .phase-order {
    margin-left: 20px;
  }
}
.volume-part {
  padding: 33px 30px;
  box-sizing: border-box;
  .current-volume {
    display: flex; /*所有子元素block或inline都变成行内块元素的样式*/
    align-items: center;
    justify-content: flex-start;
    width: 96%;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    letter-spacing: 0px;
    color: $--color-text-primary;
  }
  .color-block {
    width: 14px;
    height: 14px;
    background-color: $--color-primary;
  }
  .curr-volume {
    margin-left: 5px;
  }
  .curr-time {
    margin-left: 20px;
  }
  .current-volumetable {
    width: 96%;
    height: 330px;
    margin-top: 40px;
    .el-table {
      font-size: 14px;
    }
  }
}
// 通道锁定
.manual-record {
  position: relative;
  width: 100%;
  height: 100%;
  .manual-top {
    margin-left: 10px;
  }
  .manual-bottom {
    float: left;
    width: 100%;
  }
  .manual-control {
    float: left;
    width: 60%;
  }
  .manual-tables {
    float: right;
    width: 40%;
  }
  .manual-tables-bottom {
    width: 100%;
    float: left;
    margin-top: 10px;
  }
  .channel-status {
    font-size: 18px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 20px;
    letter-spacing: 0px;
    color: $--color-text-primary;
  }
}
// 设备信息
.device-info {
  height: 18px;
  font-size: 18px;
  font-weight: normal;
  font-stretch: normal;
  line-height: 14px;
  letter-spacing: 0px;
  color: $--color-text-regular;
}
.device-second-title {
  margin: 15px 0 5px 0;
  font-size: 15px;
  letter-spacing: 0px;
  color: $--color-text-regular;
}
.device-message {
  margin: -15px 5px 5px 5px;
  padding: 20px;
  background-color: $--color-black;
}
.sub-title {
  color: $--color-info;
  font-size: 14px;
  line-height: 120%;
  margin: 15px 0 5px 0;
  .see-cut  {
    font-size: 14px;
    padding: 0 0;
    float: right;
  }
}

.device-param {
  margin: 10px 5px 5px 5px;
  padding: 20px;
  background-color: $--color-black;
}
.device-netcard {
  margin: 10px 5px 5px 5px;
  padding: 20px;
  background-color: $--color-black;
}
.device-fault-detect {
  margin: 10px 5px 5px 5px;
  padding: 20px;
  background-color: $--color-black;
}
.device-content {
  // position: relative;
  margin-top: 10px;
  left: 20px;
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  line-height: 14px;
  letter-spacing: 0px;
  color: $--color-text-primary;
}
.device-value {
  position: relative;
}
.device-header {
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  line-height: 14px;
  letter-spacing: 0px;
  color: $--color-text-primary;
}

//剪断效果
.deviceinfo-seeCutDetail {
  .edit-button {
    float: left;
    margin-top: 10px;
  }
  .effect-pic {
    height: 200px;
    background: $--background-color-base;
    display: flex;
    flex-direction: row;
  }
  .x-container {
    width: 13%;
    height: 100%;
  }
  .x-title {
    height: 20%;
    text-align:center;
    padding-top: 10px;
  }
  .x-item-container {
    height: 80%;
    border: 1px solid $--color-text-secondary;
  }
  .r-container {
    width: 34%;
    height: 100%;
    margin-left: 20px;
  }
  .r-title {
    height: 20%;
    text-align:center;
    padding-top: 10px;
  }
  .r-item-container {
    height: 80%;
    border: 1px solid $--color-text-secondary;
  }
  .icon-container {
    float: left;
    height: 60%;
  }
  .content {
    height: 100%;
    text-align: center;
    padding: 10px;
  }
  .el-row {
    margin-bottom: 20px;
    &:last-child {
      margin-bottom: 0;
    }
  }
  .icon-content {
    width: 100%;
    height: 100%;
  }
}
// 手动面板
.manual-record {
  .control-model-name {
    float: left;
    margin-left: 30px;
    margin-top: 30px;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 14px;
    letter-spacing: 0px;
    color: $--color-text-regular;
  }
  .control-model-value {
    float: left;
    margin-left: 5px;
    margin-top: 30px;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 14px;
    letter-spacing: 0px;
    color: $--color-text-primary;
  }
  .manual-tables-name {
    float: left;
    margin-left: 10px;
    margin-top: 22px;
    font-size: 18px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 20px;
    letter-spacing: 0px;
    color: $--color-text-primary;
  }
}
// 系统
.signal-version-name {
  margin-top: 20px;
  margin-left: 30px;
  height: 18px;
  font-size: 18px;
  font-weight: normal;
  font-stretch: normal;
  line-height: 14px;
  letter-spacing: 0px;
  color: $--color-text-regular;
}
.signal-version-value {
  margin-top: 10px;
  margin-left: 30px;
  background-color: $--color-black;
}
.signal-version-bottom {
  margin-top: 10px;
  margin-left: 30px;
}
.software {
  position: relative;
  left: 20px;
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  line-height: 14px;
  letter-spacing: 0px;
  color: $--color-text-primary;
}
.remote-select {
  float: left;
  margin-left: 10px;
  margin-top: 20px;
}
.currsystemtime {
  width: 100%;
}
.system-container {
  .el-tabs {
  height: 100%;
  }
  .el-tabs__content {
    height: calc(100% - 55px);
    overflow-y: auto;
    .el-tab-pane {
      height: calc(100% - 20px);
    }
  }
  .channel-panel {
    height: 100%;
    .channels{
      .single-channel {
        width: 148px;
        height: 240px;
        background-color: $--color-info;
        border-radius: 4px;
        border: solid 1px $--border-color-base;
        float: left;
        margin-right: 20px;
        .name {
          height: 40px;
          background: $--color-black;
          line-height: 40px;
          text-align: center;
          font-size: 14px;
          font-weight: normal;
          font-stretch: normal;
          letter-spacing: 0px;
          color: $--color-text-primary;
        }
      }
    }
    
    .channeltest {
      height: calc(100% - 240px);
      .list {
        margin-top: 30px;
        .title {
          margin-bottom: 10px;
          color: $--color-text-primary;
        }
      }
    }
  }
}

.history-container {
  padding: 0 20px !important;
  .el-tabs {
    height: calc(100% - 52px);
    }
    .el-tabs__content {
      height: calc(100% - 65px);
      overflow-y: auto;
      .el-tab-pane {
        height: 100%;
      }
    }
    .history-table {
      height: 100%;
      .atc-table {
        height: 100%;
      }
    }
}

.plan-container {
  .tabs-style {
    height: 100%;
    .plan-table {
      height: 100%;
    }
  }
  .el-tabs {
    height: 100%;
    }
  .el-tabs__content {
    height: calc(100% - 65px);
    overflow-y: auto;
    .el-tab-pane {
      height: 100%;
    }
  }
}

// 统计
.statistics {
  height: 100%;
  padding: 0 20px;
  .one {
    position: relative;
  }
  .two {
    height: 47%;
  }
  .three {
    height: 47%;
    text-align: center;
  }
  .flow-echarts {
    height: 100%;
  }
}
  
  .statistics-table {
    height: 100%;
  }
  .statistics-button {
    position: absolute;
    left: 0px;
    top: 45px;
    z-index: 9999999;
    .el-select {
      width: 106px;
    }
  }
  .statistics-input {
    float: left;
  }
  .statistics-name {
  float: left;
  margin-top: 8px;
  margin-left: 10px;
  height: 14px;
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  line-height: 14px;
  letter-spacing: 0px;
  color: $--color-text-secondary;
  }


// 方案
.pattern-figure {
  // position: fixed;
  // width: 88%;
  // bottom: 30px;
  .pattern-status {
    display: inline;
    font-size: 20px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 22px;
    letter-spacing: 0px;
    color: $--color-text-primary;
  }
  .pattern-explain {
    float: right;
    color: $--color-text-regular;
  }
}
.el-menu--horizontal {
  border-bottom: solid 1px $--border-color-base!important;
}
.main-patternstatus {
  position: relative;
  .ring-first {
    margin-top: 1px;
    width: 100%;
    height: 34px;
  }
  .first-1 {
    float: left;
    // text-align: center;
  }
  // .ring-num {
  //   float: left;
  //   margin-top:7px;
  //   margin-left: 5px;
  //   font-size: 14px;
  //   font-weight: normal;
  //   font-stretch: normal;
  //   line-height: 22px;
  //   letter-spacing: 0px;
  //   color: #ffffff;
  // }
  .box {
    float: left;
    margin-left: 6px;
    margin-right: 10px;
  }
  .ring-nums {
    // float: left;
    // margin-top:7px;
    // margin-left: 5px;
    font-size: 12px;
    height: 17px;
    font-weight: normal;
    font-stretch: normal;
    // line-height: 22px;
    letter-spacing: 0px;
    color: #333333;
  }
  .ring-phase {
    position: relative;
    float: left;
    // margin-left: 5px;
    height: 34px;
    z-index: 999;
    background: rgba(30, 96, 12, 0.2);
    // margin-top:1px;
  }
  .ring-phase::after {
    position: absolute;
    display: block;
    content: '';
    height: 0;
    width: 0;
    top: 11px;
    left: 36px;
    border: 5px solid transparent;
    border-left-color: rgba(30, 96, 12, 0.2);
  }
  .divider {
    position: absolute;
    top: -10px;
    // left: 370px;
    width: 2px;
    // height: 99px;
    background-color: #787878;
  }
  .curTimeLine {
    position: absolute;
    top: -10px;
    width: 2px;
    background-color: #409EFF;
  }
  .curTimeDiv {
    position: absolute;
    z-index:50;
    top: -21px;
    margin-left: -30px;
    text-align:center;
    vertical-align: middle;
    width: 60px;
    height: 19px;
    color:#FFFFFF;
    background-color: #409EFF;
  }
}
.el-button--primary.is-disabled, .el-button--primary.is-disabled:hover, .el-button--primary.is-disabled:focus, .el-button--primary.is-disabled:active{
  color: #FFFFFF;
}
.atc-table {
  top: 150px;
  left: 20px;
  right: 20px;
  // border: solid 1px $--border-color-base;
  overflow: auto;
}
// el-switch样式
.el-switch__core {
  margin: 0;
  display: inline-block;
  position: relative;
  width: 40px;
  height: 20px;
  border: 1px solid $--border-color-light;
  outline: none;
  border-radius: 10px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background: $--border-color-light;
  cursor: pointer;
  -webkit-transition: border-color .3s, background-color .3s;
  transition: border-color .3s, background-color .3s;
  vertical-align: middle;
}
// el-tooltip样式
.el-tooltip__popper.is-light {
  background: $--color-primary;
  border: 1px solid $--color-primary;
  color: $--color-text-primary;
}
.el-tooltip__popper.is-light[x-placement^="top"] .popper__arrow {
  border-top-color: $--color-primary;
}
.el-tooltip__popper.is-light[x-placement^="top"] .popper__arrow::after {
  border-top-color: $--color-primary;
}

// 登陆页面
.login-container {
  position: fixed;
  height: 100%;
  width: 100%;
  background-color: $--background-color-base;
  .switch-language {
    cursor:pointer;
    margin-top: 20px;
    margin-right: 20px;
    float: right;
  }
  .el-input {
    display: inline-block;
    height: 47px;
    width: 85%;
    input {
      background: $--color-white;
      border: 0px;
      -webkit-appearance: none;
      border-radius: 0px;
      padding: 12px 5px 12px 15px;
      color:  $--color-text-primary;
      height: 47px;
      &:-webkit-autofill {
        -webkit-text-fill-color: rgb(0, 0, 0) !important;
      }
      .el-input__inner {
        -webkit-appearance: none;
        background-color: $--color-white;
        background-image: none;
        border-radius: 4px;
        border: 0px solid #dcdfe6;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        color: $--color-text-regular;
        display: inline-block;
        font-size: inherit;
        height: 40px;
        line-height: 40px;
        outline: 0;
        padding: 0 15px;
        -webkit-transition: border-color .2s cubic-bezier(.645,.045,.355,1);
        transition: border-color .2s cubic-bezier(.645,.045,.355,1);
        width: 100%;
      }
    }
  }
  .el-form-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: $--color-white;
    border-radius: 5px;
    color: $--color-primary;
  }
  .login-form {
    position: absolute;
    left: 0;
    right: 0;
    //width: 33%;
    width: 20%;
    min-width: 400px;
    padding: 35px 35px 15px 35px;
    margin: 120px auto;
  }
  .tips {
    font-size: 14px;
    color: $--color-text-secondary;
    margin-bottom: 10px;
    span {
      &:first-of-type {
        margin-right: 16px;
      }
    }
  }
  .svg-container {
    padding: 6px 5px 6px 15px;
    color: $--color-primary;
    vertical-align: middle;
    width: 30px;
    display: inline-block;
    &_login {
      font-size: 20px;
    }
  }
  .text-container {
    padding: 6px 0px 0px 15px;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    letter-spacing: 0px;
    color: $--color-primary;
  }
  .title {
    font-size: 26px;
    font-weight: 400;
    color: $--color-primary;
    margin: 0px auto 40px auto;
    text-align: center;
    font-weight: bold;
    font-stretch: normal;
  }
  .show-pwd {
    position: absolute;
    right: 10px;
    top: 7px;
    font-size: 16px;
    color: $--color-info;
    cursor: pointer;
    user-select: none;
  }
  .expand-text {
  position: relative;
  top: -10px;
  // margin-left: 280px;
  font-size: 13px;
  font-weight: normal;
  font-stretch: normal;
  letter-spacing: 0px;
  color: $--color-primary;
  cursor: pointer;
}
}

// 关于弹窗
.edgeversioninfo {
  .el-dialog__headerbtn .el-dialog__close {
      color: $--color-white;
  }
  .el-dialog__header {
      padding: 50px 30px 10px;
      height: 109px;
      background-color: $--color-primary;
      border-radius: 4px 4px 0px 0p
  }
  .el-dialog__title {
      width: 291px;
      height: 38px;
      margin-top: 40px;
      font-size: 36px;
      font-weight: normal;
      font-stretch: normal;
      line-height: 14px;
      letter-spacing: 0px;
      color: #fff;
  }
  .banben {
      font-size: 14px;
      font-weight: normal;
      font-stretch: normal;
      line-height: 14px;
      letter-spacing: 0px;
      color: $--color-text-regular;
  }
  .divider {
      // width: 483px;
      height: 1px;
      margin-top: 15px;
      background-color: $--border-color-light;
  }
  .open-source {
      margin-top: 25px;
      font-size: 14px;
      font-weight: normal;
      font-stretch: normal;
      line-height: 14px;
      letter-spacing: 0px;
      color: $--color-primary;
  }
  .agreement {
      cursor: pointer;
  }
}

// 更新进度条动画
.progressAnim {
  $main-color:#4169AA;
  $sub-color: rgb(49, 81, 133);
  .bar {
    position: relative;
    margin: auto;
    border-radius: 20px;
    background: $main-color;
    overflow: hidden;

    &::before {
      position: absolute;
      content: "";
      top: 0;
      left: 0;
      width: 1200px;
      height: 85px;
      background: repeating-linear-gradient(45deg, $sub-color, $sub-color 10px, transparent 11px, transparent 19px, $sub-color 20px) no-repeat 0 0;
      animation: move 1s linear infinite;
    }
  }

  @keyframes move {
    from {
      background-position: 0 0;
    }
    to {
      background-position: 0 -56px;
    }
  }

  .bartext {
    color: $--color-primary;;
    margin-top: 8px;
    font-size: 12px;
  }
}

// 模版导入
.temp-import {
  .el-select {
    width: 75px;
  }
  .footer {
    button {
      width: 56px;
      height: 32px;
      padding: 0;
      text-align: center;
      line-height: 30px;
      font-size: 12px;
      font-weight: normal;
      font-stretch: normal;
    }
  }
  .sort-name {
    font-size: 15px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 40px;
    letter-spacing: 0px;
    color: $--color-text-primary;
    text-align: right;
    padding-right: 30px;
}
.el-form-item__label {
  color: $--color-text-secondary;
  font-weight: 400;
}
.el-dialog__footer {
  padding: 10px 72px 38px 0;
}
.el-dialog__body {
  line-height: 0px;
}
}